using System.Collections.Generic;

namespace B.S.NewMedical.Api.Write.Common
{
    /// <summary>
    /// 批量删除结果
    /// </summary>
    public class BatchDeleteResult
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 成功删除的数量
        /// </summary>
        public int SuccessCount { get; set; }

        /// <summary>
        /// 失败的数量
        /// </summary>
        public int FailCount { get; set; }

        /// <summary>
        /// 失败的ID列表
        /// </summary>
        public List<int> FailedIds { get; set; } = new List<int>();

        /// <summary>
        /// 错误消息
        /// </summary>
        public string? Message { get; set; }
    }
}